//
//  VehicleInfoCell.h
//  CarLife
//
//  Created by yu on 2017/10/30.
//  Copyright © 2017年 jpas. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol VehicleInfoHandleDelegate <NSObject>

- (void)showVehicleTypeAction:(NSString *)type;
- (void)showLicenseExampleAction;
- (void)showProvinceAbbrAction;
- (void)showCityPageAction;

@end

@interface VehicleInfoCell : UITableViewCell

@property (nonatomic, weak) id<VehicleInfoHandleDelegate>delegate;

@property (weak, nonatomic) IBOutlet UIButton *sBtn;
@property (weak, nonatomic) IBOutlet UIButton *bBtn;
@property (weak, nonatomic) IBOutlet UIButton *abbrBtn;

@property (weak, nonatomic) IBOutlet UITextField *platenoTF;
@property (weak, nonatomic) IBOutlet UILabel *cityLabel;
@property (weak, nonatomic) IBOutlet UITextField *engineTF;
@property (weak, nonatomic) IBOutlet UITextField *vinTF;

+ (instancetype)initTableViewCellWith:(UITableView *)tableView
                            indexPath:(NSIndexPath *)indexPath;

@end
